﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-23
 * Time: 14:43
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections.Generic;

namespace GoF23Learning._16.Oberver_Pattern.Refactor
{
	/// <summary>
	/// Description of BankAccount.
	/// </summary>
	public class BankAccount:Subject
	{
		 
		public void Withdraw(int data)
		{
			AccountArgs Account =new AccountArgs();
			Account.Address = "CQ";
			Account.MobileNo = "139";
			Account.Overage = data;
			this.Notify(Account);
		}
	}
}
